<template>
  <div class="wrapper">
    <StoreTableComp :store="tableStoreCreated">
      <el-table-column type="selection" width="55" align="center"></el-table-column>
      <el-table-column prop="objectName" label="项目名称" width="180" align="center"></el-table-column>
      <el-table-column prop="objectDate" label="项目日期" width="180" align="center"></el-table-column>
      <el-table-column prop="startTime" label="开始时间" width="180" align="center"></el-table-column>
      <el-table-column prop="endTime" label="结束时间" width="180" align="center"></el-table-column>
      <el-table-column prop="leadersName" label="项目负责人" width="180" align="center"></el-table-column>
      <el-table-column prop="personName" label="项目参与人" width="180" align="center"></el-table-column>
      <el-table-column prop="moneny" label="项目金额" width="180" align="center"></el-table-column>
      <TableActionColumnComp label="操作" width="180">
        <TableDialogButton></TableDialogButton>
      </TableActionColumnComp>
    </StoreTableComp>
    <el-button type="primary" @click="handlerSubmit">提交</el-button>
  </div>
</template>
<script>
import StoreTableComp from './component/StoreTableComp.vue'
import { TableStoreCreated } from './modules/TableStore'
import TableActionColumnComp from './component/tableColumn/TableActionColumnComp.vue'
import TableDialogButton from './component/tableButton/TableDialogButton.vue'

export default {
  name: 'Table',
  created () {
    this.tableStoreCreated = new TableStoreCreated()
  },
  components: {
    StoreTableComp,
    TableActionColumnComp,
    TableDialogButton
  },
  methods: {
    handlerSubmit () {
      console.log(123)
    }
  }
}
</script>